package com.wolf.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @auth: dylan
 * @Desc: server端参数
 * @Time: 2024/4/29
 */
@Data
@Component
@ConfigurationProperties(prefix = "wolf.server")
public class ServerProperties {
    private int workThread;
    private int port;

}
